public class BankOfDalian extends Bank{
    public double year;

    public double computerInterest(){
        super.year = (int)year;
        interest = (year - (int)year) * interestRate * savedMoney;
        return super.computerInterest() + interest;
    }
}